/**
 * Decider.h
 * Coyright (c) 2009 Xiaofeng Gu. All Rights Reserved.
 * Author : Xiaofeng Gu
 *
 * Creation Data : 2009/06/28
 */
#pragma once

#include "SKPipeline.h"


class CDeciderProcessCard
{
public:
	CDeciderProcessCard() : m_pFamiles(NULL) {}
	virtual~ CDeciderProcessCard() {}

	void			SetFamilies(Families* pFamiles) { m_pFamiles = pFamiles; }
	Families*		GetFamilies() { return m_pFamiles; }

private:
	Families*		m_pFamiles;
};


class CDecider : public CSKDistributor
{
public:
	CDecider(ISKPipeline* pNextProcess, CProcessDraft* pData)
		: CSKDistributor(pNextProcess, pData)
	{}

	virtual ~CDecider() {}

	DECALRE_INTERFACE_PART(OnExecute);

};